home *** CD-ROM | disk | FTP | other *** search
-
- #import <gamekit/gamekit.h>
-
- // states -- tells autoUpdate what to do
- #define GAME_OVER GAMEOVER // I forget which one to use, so define both
-
- #define WAITFORDEMO 600 // Wait x cycles before gameover to start demo
-
- @interface NXIGameView:GameView
- {
- id player;
- BOOL cheatMode;
- }
-
- - initFrame:(const NXRect *)frm;
- - loadPix;
- - autoUpdate:sender;
- - drawSelf:(const NXRect *)rects :(int)rectCount;
- - updateSelf:(NXRect *)rects :(int)rectCount;
- - keyDown:(NXEvent *)myevent;
- - setUpScreen;
- - restartGame;
- - restartGameForDemo:(BOOL)doingDemo;
-
- @end
-